package com.mes.cloud.api.dto.request.area;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AreaLogPageRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "当前页不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotEmpty(message = "每页条数不能为空")
    private int pageSize;

    @ApiModelProperty(value = "行政区划id", required = true)
    @NotEmpty(message = "行政区划id不能为空")
    private String areaId;
}
